import request from '@/utils/request'

// 获取计费规则列表
export const getBillingRuleListAPI = (params) => request.get('/parking/rule/list', { params })

// 删除计费规则
export const delBillingRuleAPI = (id) => request.delete(`/parking/rule/${id}`)

// 添加计费规则
export const addBillingRuleAPI = (data) => request.post('/parking/rule', data)
